#pragma once
class HistoryStringCal
{
public:
	struct HistoryString
	{
		CString cs;
		int Times;
        CTime useTime;
	};

	HistoryStringCal(void);
	~HistoryStringCal(void);
	void Serialize(CArchive& ar);
    void AppendString(CString cs);
    void GetSortedStringsByTimes(CArray<CString, CString&> &CStringList);
    void SortStringsByUseTime();
    bool IsHistoryStringNeedSave(CString cs);
    bool GetValidStrings();
    CArray<HistoryString, HistoryString&> m_HistoryStringList;
};
